<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    template="layout.xhtml">

	<ui:define name="header">
		
	</ui:define>
	<ui:define name="content">
		<h:form id="loginForm">
			<h:panelGrid id="loginPanel" columns="2">
				<h:outputText value="User Name:" />
				<h:inputText id="userName" value="#{loginBean.username}" />
				<h:outputText value="Password:" />
				<h:inputSecret id="password" value="#{loginBean.password}" />
				<h:outputText value="" />
				<h:commandButton value="Login" action="#{loginBean.authenticate}"
					id="loginButton" />
			</h:panelGrid>
		</h:form>
	</ui:define>
	<ui:define name="footer">
	</ui:define>
</ui:composition>